import request from '@/utils/request'

export function getAllList(data) {
  return request({
    url: '/backend_cost_all',
    method: 'post',
    data
  })
}
export function costExcelout(data) {
  return request({
    url: '/backend_cost_excelout',
    method: 'post',
    data
  })
}
/**
 * 成本增
 */
export function create(data) {
  return request({
    url: '/backend_cost_insertdata',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/backend_cost_edit',
    method: 'post',
    data
  })
}
export function deleteRecord(data) {
  return request({
    url: '/backend_cost_delete_record',
    method: 'post',
    data
  })
}

